package cn.dkk.behavior_design.state.after;

/**
 * @author dkk
 * @date 2022/7/26
 * @desc 抽象状态类
 */
public abstract class LeftState {

    protected Context context;

    abstract void open();
    abstract void close();
    abstract void stop();
    abstract void run();

    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }
}
